import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { A1Component } from './a-1/a-1.component';
import { A2Component } from './a-2/a-2.component';
import {RouterModule, Routes} from '@angular/router';
import {SharedModule} from '../../public/shared/shared.module';
import {TableModule} from '../../public/component/table/table.module';
export const aRoutes: Routes = [
  {
    path: '',
    children: [
      {path: 'a-1', component: A1Component},
      {path: 'a-2', component: A2Component}
    ]
  }
];
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(aRoutes),
    SharedModule,
    TableModule
  ],
  declarations: [A1Component, A2Component]
})
export class AModule { }
